import request from "../http.js";

// 搜索热词
export function getHotwords() {
    return request({
        url: '/search-hotwords',
        method: 'get'
    })
}

// 热门搜索
export function getHot() {
    return request({
        url: "/hot-books",
        method: 'get',
    })
}

// 搜索结果
export function getSearch(keyword){
    return request({
        url:"/search?keyword=" + keyword,
        method:"get"
    })
}
